/*
 * @Author: error: git config user.name && git config user.email & please set dead value or install git
 * @Date: 2022-12-30 10:22:15
 * @LastEditors: 朱安武 549410045@qq.com
 * @LastEditTime: 2023-01-06 16:06:25
 * @FilePath: \html学习\vue-test\elementUi\src\main.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { createApp } from 'vue'
import ElementPlus from "element-plus";
import * as ElementPlusIconsVue from '@element-plus/icons-vue'
import {router} from "./router"
import { createPinia } from 'pinia';

import "element-plus/dist/index.css";
import "reset-css"

import App from './App.vue'


const app = createApp(App)

app.use(ElementPlus)
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
    app.component(key, component)
}
app.use(router)

const pinia = createPinia()
app.use(pinia)

app.mount('#app')
